// 库位配置请求
import request from '@/utils/request'

// 查询【请填写功能名称】列表
export function list(dataParam) {
  return request({
    url: '/factoryshelves/list',
    method: 'post',
    data: dataParam
  })
}

// 查询【请填写功能名称】详细
export function saveOrUpdate(data) {
  return request({
    url: '/factoryshelves/saveOrUpdate',
    method: 'post',
    data
  })
}

// 新增【请填写功能名称】
export function updateStatus(data) {
  return request({
    url: '/factoryshelves/updateStatus',
    method: 'post',
    data: data
  })
}



// 删除【请填写功能名称】
export function _delete(data) {
  return request({
    url: '/factoryshelves/delete',
    method: 'post',
    data: data
  })
}

// 删除【请填写功能名称】
export function getDetailById(params) {
  return request({
    url: '/factoryshelves/getDetailById',
    method: 'get',
    params
  })
}


//factoryShelvesGrid 获取货架格子列表
export function getFactoryShelvesGridList(params) {
  return request({
    url: '/factoryShelvesGrid/list',
    method: 'get',
    params
  })
}


//releasesGrid 强制释放格子绑定的订单
export function releasesGrid(data) {
  return request({
    url: '/factoryShelvesGrid/releasesGrid',
    method: 'post',
    data: data
  })
}
